package com.lagou.service;

import com.lagou.entity.User;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserService {

    public int register(User user);

    public int deleteUser(Integer id);

    public int updateUser(User user);

    public List<User> findAll(String keyword);

    public User findById(Integer id);
}
